package org.bright.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import org.bright.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author bright
 * @since 2024-12-10 04:12
 */
@Getter
@Setter
@TableName("employees")
@Schema(name = "Employees", description = "员工实体")
public class Employees extends BaseEntity {

    @Schema(description = "员工Id")
    @TableId(value = "employee_id", type = IdType.AUTO)
    private Integer employeeId;

    @Schema(description = "登录名")
    @TableField("login_name")
    private String loginName;

    @Schema(description = "用户名")
    @TableField("emp_name")
    private String empName;

    @Schema(description = "登录密码")
    @TableField("password")
    private String password;

    @Schema(description = "职位")
    @TableField("position")
    private String position;

    @Schema(description = "邮箱")
    @TableField("email")
    private String email;

    @Schema(description = "联系电话")
    @TableField("phone_number")
    private String phoneNumber;

    @Schema(description = "工资")
    @TableField("salary")
    private BigDecimal salary;
}
